home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 279
- Top = 235
- Width = 751
- Height = 173
- Caption = 'Form1'
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- OldCreateOrder = False
- PixelsPerInch = 96
- TextHeight = 13
- object DMCalendar1: TDMCalendar
- Left = 12
- Top = 8
- Width = 320
- Height = 120
- StartOfWeek = 0
- TabOrder = 0
- DataSource = DataSource1
- DataField = 'SaleDate'
- end
- object DBEdit1: TDBEdit
- Left = 380
- Top = 20
- Width = 121
- Height = 21
- DataField = 'SaleDate'
- DataSource = DataSource1
- TabOrder = 1
- end
- object DBNavigator1: TDBNavigator
- Left = 388
- Top = 76
- Width = 240
- Height = 25
- DataSource = DataSource1
- TabOrder = 2
- end
- object Button1: TButton
- Left = 540
- Top = 24
- Width = 75
- Height = 25
- Caption = 'Button1'
- TabOrder = 3
- OnClick = Button1Click
- end
- object Table1: TTable
- Active = True
- DatabaseName = 'DBDEMOS'
- TableName = 'orders.db'
- Left = 32
- Top = 16
- object Table1OrderNo: TFloatField
- FieldName = 'OrderNo'
- DisplayFormat = #39'#'#39'0000'
- end
- object Table1CustNo: TFloatField
- Alignment = taLeftJustify
- CustomConstraint = 'CustNo IS NOT NULL'
- ConstraintErrorMessage = 'CustNo cannot be blank'
- FieldName = 'CustNo'
- Required = True
- DisplayFormat = 'CN 0000'
- MaxValue = 9999
- MinValue = 1000
- end
- object Table1SaleDate: TDateTimeField
- FieldName = 'SaleDate'
- end
- object Table1ShipDate: TDateTimeField
- FieldName = 'ShipDate'
- end
- object Table1EmpNo: TIntegerField
- CustomConstraint = 'Value > 0'
- ConstraintErrorMessage = 'EmpNo cannot be 0 or negative'
- FieldName = 'EmpNo'
- Required = True
- DisplayFormat = 'Emp'#39'#'#39' 0000'
- MaxValue = 9999
- MinValue = 1
- end
- object Table1ShipToContact: TStringField
- FieldName = 'ShipToContact'
- end
- object Table1ShipToAddr1: TStringField
- FieldName = 'ShipToAddr1'
- Size = 30
- end
- object Table1ShipToAddr2: TStringField
- FieldName = 'ShipToAddr2'
- Size = 30
- end
- object Table1ShipToCity: TStringField
- FieldName = 'ShipToCity'
- Size = 15
- end
- object Table1ShipToState: TStringField
- FieldName = 'ShipToState'
- end
- object Table1ShipToZip: TStringField
- FieldName = 'ShipToZip'
- Size = 10
- end
- object Table1ShipToCountry: TStringField
- FieldName = 'ShipToCountry'
- end
- object Table1ShipToPhone: TStringField
- FieldName = 'ShipToPhone'
- Size = 15
- end
- object Table1ShipVIA: TStringField
- FieldName = 'ShipVIA'
- Size = 7
- end
- object Table1PO: TStringField
- FieldName = 'PO'
- Size = 15
- end
- object Table1Terms: TStringField
- FieldName = 'Terms'
- Size = 6
- end
- object Table1PaymentMethod: TStringField
- FieldName = 'PaymentMethod'
- Size = 7
- end
- object Table1ItemsTotal: TCurrencyField
- FieldName = 'ItemsTotal'
- end
- object Table1TaxRate: TFloatField
- FieldName = 'TaxRate'
- DisplayFormat = '0.00%'
- MaxValue = 100
- end
- object Table1Freight: TCurrencyField
- FieldName = 'Freight'
- end
- object Table1AmountPaid: TCurrencyField
- FieldName = 'AmountPaid'
- end
- end
- object DataSource1: TDataSource
- DataSet = Table1
- Left = 40
- Top = 64
- end
- end
-